package com.zzw.easyexcel;

import com.alibaba.excel.write.handler.WriteHandler;
import jakarta.servlet.http.HttpServletResponse;

import java.io.IOException;
import java.util.List;

/**
 * @author Administrator
 */
public interface EasyExcel {


    void write(HttpServletResponse httpServletResponse, String excelName, List<List<String>> head, String sheetName, List<List<Object>> data) throws IOException;

    void write(HttpServletResponse httpServletResponse, String excelName, List<List<String>> head, String sheetName, List<List<Object>> data,
               WriteHandler writeHandler) throws IOException;

    void write(HttpServletResponse httpServletResponse, String excelName, List<List<String>> head, String sheetName, List<List<Object>> data,
               WriteHandler writeHandler, WriteHandler rowWriteHandler) throws IOException;

}
